package me.itsoo.artemis.framework.core.exception;

/**
 * ElementNotFoundException
 *
 * @author zxy
 * @version 0.0.1
 * @since 2023/5/13
 */
public class ElementNotFoundException extends RuntimeException {

    private static final long serialVersionUID = 7905180533109888523L;

    private final String errorMsg;

    public ElementNotFoundException() {
        this.errorMsg = "could not found element";
    }

    @Override
    public String getMessage() {
        return this.errorMsg;
    }

    @Override
    public synchronized Throwable fillInStackTrace() {
        return this;
    }
}
